/**
 * Copyright (c) 2010 CWI Amsterdam and others. All rights reserved.
 * This program and the accompanying materials are made available
 * under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     CWI Amsterdam - initial API and implementation
 *
 * $Id$
 */
package nl.cwi.arne;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Action</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link nl.cwi.arne.Edge#getSource <em>Source</em>}</li>
 *   <li>{@link nl.cwi.arne.Edge#getTarget <em>Target</em>}</li>
 *   <li>{@link nl.cwi.arne.Edge#getNetwork <em>Network</em>}</li>
 *   <li>{@link nl.cwi.arne.Edge#getBaseLevels <em>Base Levels</em>}</li>
 *   <li>{@link nl.cwi.arne.Edge#getStartLevel <em>Start Level</em>}</li>
 *   <li>{@link nl.cwi.arne.Edge#getEndLevel <em>End Level</em>}</li>
 * </ul>
 * </p>
 *
 * @see nl.cwi.arne.factory.ArnePackage#getEdge()
 * @model
 * @generated
 */
public interface Edge extends EObject {
	/**
	 * Returns the value of the '<em><b>Source</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link nl.cwi.arne.Node#getOutgoing <em>Outgoing</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source</em>' reference.
	 * @see #setSource(Node)
	 * @see nl.cwi.arne.factory.ArnePackage#getEdge_Source()
	 * @see nl.cwi.arne.Node#getOutgoing
	 * @model opposite="outgoing"
	 * @generated
	 */
	Node getSource();

	/**
	 * Sets the value of the '{@link nl.cwi.arne.Edge#getSource <em>Source</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Source</em>' reference.
	 * @see #getSource()
	 * @generated
	 */
	void setSource(Node value);

	/**
	 * Returns the value of the '<em><b>Target</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link nl.cwi.arne.Node#getIncoming <em>Incoming</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target</em>' reference.
	 * @see #setTarget(Node)
	 * @see nl.cwi.arne.factory.ArnePackage#getEdge_Target()
	 * @see nl.cwi.arne.Node#getIncoming
	 * @model opposite="incoming"
	 * @generated
	 */
	Node getTarget();

	/**
	 * Sets the value of the '{@link nl.cwi.arne.Edge#getTarget <em>Target</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Target</em>' reference.
	 * @see #getTarget()
	 * @generated
	 */
	void setTarget(Node value);

	/**
	 * Returns the value of the '<em><b>Network</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link nl.cwi.arne.Network#getEdges <em>Edges</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Network</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Network</em>' container reference.
	 * @see #setNetwork(Network)
	 * @see nl.cwi.arne.factory.ArnePackage#getEdge_Network()
	 * @see nl.cwi.arne.Network#getEdges
	 * @model opposite="edges" transient="false"
	 * @generated
	 */
	Network getNetwork();

	/**
	 * Sets the value of the '{@link nl.cwi.arne.Edge#getNetwork <em>Network</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Network</em>' container reference.
	 * @see #getNetwork()
	 * @generated
	 */
	void setNetwork(Network value);

	/**
	 * Returns the value of the '<em><b>Base Levels</b></em>' attribute list.
	 * The list contents are of type {@link java.lang.Integer}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Base Levels</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Base Levels</em>' attribute list.
	 * @see nl.cwi.arne.factory.ArnePackage#getEdge_BaseLevels()
	 * @model
	 * @generated
	 */
	EList<Integer> getBaseLevels();

	/**
	 * Returns the value of the '<em><b>Start Level</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Start Level</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Start Level</em>' attribute.
	 * @see #setStartLevel(int)
	 * @see nl.cwi.arne.factory.ArnePackage#getEdge_StartLevel()
	 * @model
	 * @generated
	 */
	int getStartLevel();

	/**
	 * Sets the value of the '{@link nl.cwi.arne.Edge#getStartLevel <em>Start Level</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Start Level</em>' attribute.
	 * @see #getStartLevel()
	 * @generated
	 */
	void setStartLevel(int value);

	/**
	 * Returns the value of the '<em><b>End Level</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>End Level</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>End Level</em>' attribute.
	 * @see #setEndLevel(int)
	 * @see nl.cwi.arne.factory.ArnePackage#getEdge_EndLevel()
	 * @model
	 * @generated
	 */
	int getEndLevel();

	/**
	 * Sets the value of the '{@link nl.cwi.arne.Edge#getEndLevel <em>End Level</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>End Level</em>' attribute.
	 * @see #getEndLevel()
	 * @generated
	 */
	void setEndLevel(int value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	boolean isUpClosed();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	boolean isDownClosed();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	int getMinBaseLevel();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	int getMaxBaseLevel();

} // Action
